package com.da.demo.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.da.demo.security.entity.DailyUserRoles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户角色关联表(DailyUserRoles)表数据库访问层
 *
 * @author hyacinth
 * @since 2025-01-21 14:20:38
 */
@Mapper
public interface DailyUserRolesMapper extends BaseMapper<DailyUserRoles> {


    int insert(@Param("dailyUserRoles") DailyUserRoles dailyUserRoles);
    List<DailyUserRoles> queryListByUserId(@Param("userId") String userId);
    List<String> queryIdListByUserId(@Param("userId") String userId);
}

